<template>
    <div>
<headers title="首页"></headers>
<div @click="catFun">
分类
</div> 

    </div>
</template>

<script setup>
import {ref}from "vue";
import headers from '@/components/header.vue';
import { useRoute, useRouter } from 'vue-router'

const router = useRouter()
const route = useRoute()
const catFun=()=>{
    router.push({path:'list',query:{}})
}
</script>

<style lang="scss" scoped>

</style>